package io.terminus.spzx.product.service.impl;

import io.terminus.spzx.model.entity.product.ProductSku;
import io.terminus.spzx.product.mapper.ProductSkuMapper;
import io.terminus.spzx.product.service.ProductSkuService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lichunlong lcl253137@alibaba-inc.com
 * @Desc 商品SKU管理Service实现类
 * @Date 2024-10-24
 */
@Service
@RequiredArgsConstructor
public class ProductSkuServiceImpl implements ProductSkuService {

    private final ProductSkuMapper productSkuMapper;

    @Override
    public List<ProductSku> findProductSkuBySale() {
        return productSkuMapper.findProductSkuBySale();
    }
}
